home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1994…tember: Reference Library / Dev.CD Sep 94.toast / Periodicals / develop / develop Issue 9 / develop 9 code / NeoTextBox / Utilities.h < prev   
Encoding:
C/C++ Source or Header  |  1992-01-06  |  1.0 KB  |  24 lines  |  [TEXT/MPS ]

  1. /*****************************************************************************************
  2.  
  3. Utilities.h - prototypes for utility routines for NTBDemo
  4.  
  5. Written by Bryan K. Ressler (Beaker), 8/30/91
  6.  
  7. *****************************************************************************************/
  8.  
  9. /** DEFINES *****************************************************************************/
  10. #define kSave        1            /* Save text parameters */
  11. #define kRestore    0            /* Restore text parameters */
  12.  
  13. /** PUBLIC PROTOTYPES *******************************************************************/
  14. short JustToRadio(short justification);
  15. short RadioToJust(void);
  16. short RadioToFont(void);
  17. void SetValue(DialogPtr theDialog,short itemNum,short value);
  18. void GetItemRect(DialogPtr theDialog,short itemNum,Rect *box);
  19. void UserItem(DialogPtr theDialog,short itemNum,void *theProc);
  20. void InvalItem(DialogPtr theDialog,short itemNum,short hInset,short vInset);
  21. pascal void BoxItem(WindowPtr theWindow,short itemNum);
  22. pascal void GrayBoxItem(WindowPtr theWindow,short itemNum);
  23. void TextParms(short code);
  24.